<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        {{ getTitle() }}
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <meta content="" name="description" />
        <meta content="support@igoji.net" name="author" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <link rel="shortcut icon" href="/assets/images/favicon.ico">
        <link href="https://cdn.bootcss.com/twitter-bootstrap/4.0.0-beta.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="/assets/css/icons.css" rel="stylesheet" type="text/css" />
        <link href="/assets/css/metismenu.min.css" rel="stylesheet" type="text/css" />
        <link href="/assets/css/style.css" rel="stylesheet" type="text/css" />
        <script src="/assets/js/modernizr.min.js"></script>
        {{ assets.outputCss() }}
    </head>

    <body>
        <div id="wrapper">
            {{ partial("partials/top_bar") }}
            <div class="left side-menu">
                <div class="user-details">
                    <div class="pull-left">
                        <img src="/assets/images/users/avatar-1.jpg" alt="" class="thumb-md rounded-circle">
                    </div>
                    <div class="user-info">
                        <a href="#">{{ auth['username'] }}</a>
                        <p class="text-muted m-0">{{ auth['group'] }}</p>
                    </div>
                </div>
                {% if siteid is not empty %}
                {{ partial("partials/site_bar") }}
                {% else %}
                {{ partial("partials/left_bar") }}
                {% endif %}
                <div class="clearfix"></div>
            </div>
            <div class="content-page">
                <div class="content">
                    <div class="container-fluid">
                    {{ content() }}
                    </div>
                    {{ partial("partials/foot_bar") }}
                </div>
            </div>
        </div>
        <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
        <script src="/assets/js/popper.min.js"></script>
        <script src="https://cdn.bootcss.com/twitter-bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
        <script src="/assets/js/metisMenu.min.js"></script>
        <script src="/assets/js/waves.js"></script>
        <script src="/assets/js/jquery.slimscroll.js"></script>
        <script src="/assets/js/jquery.core.js"></script>
        <script src="/assets/js/jquery.app.js"></script>
        {{ assets.outputJs() }}
    </body>
</html>
